Converted to main
Updated the branch from `master` to `main`.
This commit is contained in:
parent
a31c1585bf
commit
dbad470ecd
1 changed files with 2 additions and 2 deletions
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
|
@ -19,7 +19,7 @@ jobs:
|
||||||
run: ./scripts/ci.sh build
|
run: ./scripts/ci.sh build
|
||||||
|
|
||||||
- name: Deploy to gh-pages 🚀
|
- name: Deploy to gh-pages 🚀
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
|
||||||
uses: JamesIves/github-pages-deploy-action@4.1.4
|
uses: JamesIves/github-pages-deploy-action@4.1.4
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
branch: gh-pages
|
||||||
|
@ -27,6 +27,6 @@ jobs:
|
||||||
folder: ./public
|
folder: ./public
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'forgeflux-org/docs' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'forgeflux-org/docs' }}
|
||||||
run: >-
|
run: >-
|
||||||
curl --location --request POST "https://deploy.batsense.net/api/v1/update" --header 'Content-Type: application/json' --data-raw "{ \"secret\": \"${{ secrets.DEPLOY_TOKEN }}\", \"branch\": \"gh-pages\" }"
|
curl --location --request POST "https://deploy.batsense.net/api/v1/update" --header 'Content-Type: application/json' --data-raw "{ \"secret\": \"${{ secrets.DEPLOY_TOKEN }}\", \"branch\": \"gh-pages\" }"
|
||||||
|
|
Loading…
Reference in a new issue