Skip to content

Commit

Permalink
Add GitHub workflow to publish mod
Browse files Browse the repository at this point in the history
  • Loading branch information
pindab0ter committed Nov 26, 2024
1 parent 900e0da commit 548d634
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish Factorio Mod

on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Validate mod
uses: TheBrutalX/factorio-mod-uploader-action@v1
with:
action: validate

- name: Create zip file
uses: TheBrutalX/factorio-mod-uploader-action@v1
with:
action: compress

- name: Upload mod
uses: TheBrutalX/factorio-mod-uploader-action@v1
with:
action: upload
factorio-api-key: ${{ secrets.FACTORIO_API_KEY }}

0 comments on commit 548d634

Please sign in to comment.