Skip to content

Wiki Deploy

Wiki Deploy #206

Workflow file for this run

name: 'Wiki Deploy'
on:
push:
branches:
- '*'
# Allows to run this workflow manually.
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v3
- name: 'Setup Pages'
uses: actions/configure-pages@v1
- name: 'Setup Deno'
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: 'Build with Deno'
run: |
cd wiki
deno run --allow-read --allow-write deploy.ts "/AurorasDecorations"
- name: 'Upload artifact'
uses: actions/upload-pages-artifact@v1
with:
path: ./wiki/deploy_out
deploy:
needs: build
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: 'Deploy to GitHub Pages'
id: deployment
uses: actions/deploy-pages@v1