Skip to content

Cerrar registro

Cerrar registro #100

Workflow file for this run

name: Deploy RLM
on:
push:
branches:
- 2025-rlm
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: 2025-rlm
- name: Cache node modules
id: cache-npm
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list
- name: Build page
run: |
npm ci
npm run build
- name: Publish github pages
run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/SMMUN0/smmun0.github.io.git
npx gh-pages -d build -u "github-actions-bot <support+actions@github.com>" --nojekyll -b rlm-pages
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}