feat: update with upstream #4
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: Deploy to GitHub Pages π | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
# Allow this job to clone the repo and create a page deployment | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
name: Build ποΈ | |
runs-on: ubuntu-latest | |
environment: | |
name: Production | |
url: ${{ steps.deploy.outputs.page_url }} | |
steps: | |
- name: Checkout β¬οΈ | |
uses: actions/[email protected] | |
with: | |
show-progress: false | |
- name: Setup node environment βοΈ | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
cache: 'npm' | |
check-latest: true | |
- name: Install dependencies π¦ | |
run: npm ci --no-audit | |
- name: Build ποΈ | |
env: | |
STAGING: 0 | |
BASE_URL: / | |
SITE_URL: https://www.bpm2025seville.org/ | |
run: npm run build | |
- name: Upload GitHub Pages artifact β¬οΈ | |
uses: actions/[email protected] | |
with: | |
path: dist | |
- name: Deploy to GitHub Pages π | |
id: deploy | |
uses: actions/[email protected] |