mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-08 08:13:12 +00:00
Gate Pages deploy to main to avoid env protection failure
This commit is contained in:
parent
b693a92237
commit
b1a8d96f35
4
.github/workflows/lint.yml
vendored
4
.github/workflows/lint.yml
vendored
@ -487,13 +487,13 @@ jobs:
|
|||||||
- name: Check links
|
- name: Check links
|
||||||
run: mdbook-linkcheck -s book
|
run: mdbook-linkcheck -s book
|
||||||
- name: Upload book artifact for Pages
|
- name: Upload book artifact for Pages
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: target/book
|
path: target/book
|
||||||
|
|
||||||
deploy_book:
|
deploy_book:
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
needs: book
|
needs: book
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user