Skip to content

oshx runs deployment πŸš€ #10

oshx runs deployment πŸš€

oshx runs deployment πŸš€ #10

Workflow file for this run

name: GitHub Actions for Pages Deployment
run-name: ${{ github.actor }} runs deployment πŸš€
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Check out
uses: actions/checkout@v4
- run: echo "πŸŽ‰ Event [${{ github.event_name }}] | πŸ”Ž Repository [${{ github.repository }}] | 🐧 OS [${{ runner.os }}] | ⭐ Branch[${{ github.ref }}]"
- name: Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm run build
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './public/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4