Merge branch 'template/master' #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
if: github.repository_owner == 'eips-wg' | |
name: Build Pages | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2 | |
with: | |
fetch-depth: 0 | |
- name: EIPs Build (Build) | |
uses: ./.github/actions/build-eips | |
with: | |
# Disable eipw lints because there will never be any changed files | |
# between this checkout and `master` because, well, we just checked | |
# out `master`. | |
args: build --no-lint | |
- name: Upload Artifact | |
id: artifact | |
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # 3.0.1 | |
with: | |
path: build/output | |
publish: | |
if: github.repository_owner == 'eips-wg' | |
name: Publish Pages | |
runs-on: ubuntu-latest | |
needs: build | |
permissions: | |
pages: write | |
id-token: write | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
steps: | |
- name: Publish Pages | |
id: deployment | |
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # 4.0.5 |