mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
29 lines
676 B
YAML
29 lines
676 B
YAML
name: Push comps updates
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- f38
|
|
- f37
|
|
paths:
|
|
- comps.xml
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-comps:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: ghcr.io/terrapkg/builder:38
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- id: get-branch
|
|
uses: grandmasterdev/github-action-get-branch@latest
|
|
- name: Push to subatomic
|
|
run: |
|
|
branch=${{steps.get-branch.outputs.branch-name}}
|
|
ver=${branch/f/}
|
|
subatomic-cli upload-comps \
|
|
--server https://subatomic.fyralabs.com \
|
|
--token ${{ secrets.SUBATOMIC_TOKEN }} \
|
|
"terra${ver}" comps.xml
|