Skip to content

pataruco is deploying NR2F1 assets to GitHub Pages #21

pataruco is deploying NR2F1 assets to GitHub Pages

pataruco is deploying NR2F1 assets to GitHub Pages #21

name: Deploy NR2F1 assets to GitHub Pages
run-name: ${{ github.actor }} is deploying NR2F1 assets to GitHub Pages
on:
push:
branches:
- main
paths:
- website-assets/**
- .deploy-assets-to-gh-pages.yaml
- '!CHANGELOG.md'
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: 'pages'
cancel-in-progress: true
jobs:
deploy-assets-to-gh-pages:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set environment and install dependencies
uses: ./.github/actions/prepare
- name: Build project artifacts
run: pnpm nx build website-assets
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './dist/apps/website-assets'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4