mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-03 05:43:09 +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
|
||||
run: mdbook-linkcheck -s book
|
||||
- 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
|
||||
with:
|
||||
path: target/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
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user