Reputation: 21
I keep getting notifications that Pages build and deployment workflow run cancelled from main branch. I could view my work here so I don't know what the messages actually mean. actions
I am not sure if what I'm doing is right because I could view my github page but I still keep getting the notifications. I am noob so I don't really know what branches and fork are for.
Upvotes: 2
Views: 4274
Reputation: 52132
You're deploying using the built-in workflow for pages. That workflow uses concurrency controls, so if you make a push that triggers the workflow before the previous run has finished, the previous run gets cancelled; see the message on the cancelled workflow:
Canceling since a higher priority waiting request for 'pages build and deployment @ main' exists
Upvotes: 3
Reputation: 26
If you are able to view your project at the expected URL, then it's likely that the GitHub Action completed successfully despite the cancellation message.
Regarding your question about branches and forks, branches are used to work on different versions of a project simultaneously. For example, you may create a new branch to work on a new feature while keeping the main branch stable. A fork, on the other hand, is a copy of a repository that you create in your own GitHub account. You would typically create a fork of a repository if you want to make changes to the code without affecting the original repository.
Upvotes: 0