Skip to content

Publish

Publish #455

Workflow file for this run

name: Publish
on:
push: {}
workflow_dispatch:
inputs:
repository:
description: 'Who called'
required: false
type: string
repository_dispatch:
types: [publish]
jobs:
github-pages:
name: Github Pages
runs-on: ubuntu-22.04
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: darklab8/infra/.github/actions/checkout-freelancer@master
with:
freelancer-mod: "vanilla"
freelancer-folder: ${{ github.workspace }}
ssh-key-base64-vanilla: ${{ secrets.ID_RSA_FILES_FREELANCER_VANILLA }}
- uses: darklab8/fl-darkstat/.github/actions/build@master
with:
site-host: https://darkstat-staging.dd84ai.com
site-root: "/fl-data-vanilla/"
freelancer-folder: ${{ github.workspace }}
heading: <a href="https://github.com/darklab8/fl-darkstat">Darkstat</a> from <a href="https://darklab8.github.io/blog/pet_projects.html#Freelancercommunity">DarkTools</a> for <a href="https://github.com/darklab8/fl-data-vanilla">Freelancer Vanilla</a>
relay-host: https://darkrelay-staging.dd84ai.com
command: --stat-deals-on build
map-on: "true"
map-index-url: map.html
- uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./build
# Turn on ability to deploy to pages in repository settings, Pages tab
# choose "Github Actions" deployment method to Pages
- name: Deploy to pages
uses: actions/deploy-pages@v4
id: deployment