File tree 1 file changed +13
-12
lines changed
1 file changed +13
-12
lines changed Original file line number Diff line number Diff line change 8
8
# Allows you to run this workflow manually from the Actions tab
9
9
workflow_dispatch :
10
10
11
- # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
12
- permissions :
13
- contents : read
14
- pages : write
15
- id-token : write
11
+ # # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
12
+ # permissions:
13
+ # contents: read
14
+ # pages: write
15
+ # id-token: write
16
16
17
- # Allow one concurrent deployment
18
- concurrency :
19
- group : " pages"
20
- cancel-in-progress : true
17
+ # # Allow one concurrent deployment
18
+ # concurrency:
19
+ # group: "pages"
20
+ # cancel-in-progress: true
21
21
22
22
jobs :
23
23
update-main :
24
24
runs-on : ubuntu-latest
25
25
steps :
26
26
- name : Checkout
27
27
uses : actions/checkout@v4
28
+ with :
29
+ fetch-depth : 0
28
30
- name : Set up Git
29
31
run : |
30
32
git config user.name 'github-actions'
31
33
git config user.email '[email protected] '
32
- - name : Merge source into update- main
34
+ - name : Merge source into main
33
35
run : |
34
- git checkout update- main
36
+ git checkout main
35
37
git merge source --no-ff --commit -m "Update main from source"
36
- git push
37
38
- name : Push to main
38
39
run : git push origin main
39
40
env :
You can’t perform that action at this time.
0 commit comments