Skip to content

refactor: ci to usage of action #12

refactor: ci to usage of action

refactor: ci to usage of action #12

Workflow file for this run

name: Publish
on:
push: {}
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/fl-darkstat/.github/actions/build@master
with:
site-root: "/fl-data-discovery/"
freelancer-folder: ${{ github.workspace }}
heading: staging env for fl-darkstat <a href="https://github.com/darklab8/fl-data">Github</a>
- uses: actions/upload-pages-artifact@v1
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@v1
id: deployment