docs update #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Zeusfyi Docs Site | |
on: | |
push: | |
paths: | |
- .github/workflows/zeusfyi_docs.yml | |
- apps/docusaurus/zeusfyi/** | |
branches: | |
- main | |
permissions: | |
contents: read | |
id-token: write | |
env: | |
REPO: zeusfyi | |
NAME: docusaurus | |
TAG: latest | |
GOOS: linux | |
GOARCH: amd64 | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Depot CLI | |
uses: depot/setup-action@v1 | |
- name: Login to Docker Registry | |
run: docker login -u zeusfyi -p ${{ secrets.DOCKER_ACCESS_TOKEN }} | |
- name: Build And Publish Zeusfyi Docs Site | |
run: | | |
depot build \ | |
-t ${{ env.REPO }}/${{ env.NAME }}:${{ env.TAG}} \ | |
--platform=${{ env.GOOS }}/${{ env.GOARCH }} \ | |
--token ${{ secrets.DEPOT_TOKEN }} \ | |
--provenance=false \ | |
-f docker/docusaurus/Dockerfile . --push |