Skip to content

Multi-arch build

Multi-arch build #26

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Adjust this if you want to deploy from a different branch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20' # Adjust this based on your project's Node version
- name: Install and Build
run: |
npm install
npm run build
# Carica i file build come un artifact
- uses: actions/upload-artifact@v2
with:
name: site-build
path: build/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages # The branch the action should deploy to
folder: build # The folder the action should deploy
token: ${{ secrets.GITHUB_TOKEN }} # Using the built-in GitHub Token
clean: true
force: true