Package and Deploy Addon #4
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: Package and Deploy Addon | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
ref: 'main' | |
fetch-depth: 0 # Fetches all history for all tags and branches | |
- name: Fetch all tags | |
run: git fetch --prune --tags | |
- name: Create and deploy packages | |
uses: BigWigsMods/packager@v2 | |
with: | |
args: -S | |
env: | |
CF_API_KEY: ${{ secrets.CF_API_KEY }} | |
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} |