Going To Disable The Releases For Now...

I don't really know how to roll them with a static site like this.
This commit is contained in:
Annika Merris 2024-02-05 10:34:06 -05:00
parent 50d56297a7
commit 823455cf78

View file

@ -58,20 +58,20 @@ jobs:
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
- name: Extract Binary For Release # - name: Extract Binary For Release
uses: https://github.com/moosetheory/actions-docker-extract@v3.1 # uses: https://github.com/moosetheory/actions-docker-extract@v3.1
id: extract # id: extract
if: startsWith(github.ref, 'refs/tags/') # if: startsWith(github.ref, 'refs/tags/')
with: # with:
shell_command: /bin/ash -c # shell_command: /bin/ash -c
image: ${{ fromJSON(steps.meta.outputs.json).tags[0] }} # image: ${{ fromJSON(steps.meta.outputs.json).tags[0] }}
path: /usr/share/nginx/html # path: /usr/share/nginx/html
destination: dist # destination: dist
- name: Create a Release # - name: Create a Release
uses: https://forgejo.merr.is/actions/forgejo-release@alpinev1 # uses: https://forgejo.merr.is/actions/forgejo-release@alpinev1
if: startsWith(github.ref, 'refs/tags/') # if: startsWith(github.ref, 'refs/tags/')
with: # with:
direction: upload # direction: upload
release-dir: dist # release-dir: dist
token: ${{ secrets.ADMIN_TOKEN }} # token: ${{ secrets.ADMIN_TOKEN }}