Skip to content

feat: replace icon with logo of FDUCSLG & edit slogan #7

feat: replace icon with logo of FDUCSLG & edit slogan

feat: replace icon with logo of FDUCSLG & edit slogan #7

Workflow file for this run

name: Deploy Hexo site to Pages
on:
# Runs on pushes targeting the `master` branch
push:
branches: [master]
# Allows manual trigger from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping queued runs
concurrency:
group: pages
cancel-in-progress: false
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
# Check out the code
- name: Checkout
uses: actions/checkout@v4
# Set up Node.js environment
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
cache: npm
# Install dependencies
- name: Install dependencies
run: |
npm install
npm install -g hexo-cli
npm install hexo-theme-stellar
npm audit fix
# Generate static files with Hexo
- name: Build with Hexo
run: hexo generate
# Upload artifact
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4