Skip to content

Merge torrust/torrust-website#213: feat(blog): add sources of public … #88

Merge torrust/torrust-website#213: feat(blog): add sources of public …

Merge torrust/torrust-website#213: feat(blog): add sources of public … #88

Workflow file for this run

name: Deploy to GitHub Pages
env:
# Opt in now to the runtime that GitHub Actions will force by default in June 2026.
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
on:
push:
branches: 'develop'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version-file: package.json
- name: Install dependencies
run: npm install
- name: Build
run: |
npm run build
touch build/.nojekyll
- name: Upload Artifacts
uses: actions/upload-pages-artifact@v5
with:
# this should match the `pages` option in your adapter-static options
path: 'build/'
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy
id: deployment
uses: actions/deploy-pages@v5