Skip to content

Commit

Permalink
Fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Feb 20, 2024
1 parent 4138e77 commit aa8ffbc
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
name: 'Deployment'

on:
push:
branches:
- main
- master
- develop
workflow_run:
workflows: ["CI"]
branches: [main, develop]
types:
- completed

jobs:
build:
name: Build
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
ref: ${{ github.event.workflow_run.head_branch }}
fetch-depth: 0

- name: Setup Pakman
Expand Down Expand Up @@ -72,8 +73,8 @@ jobs:
run: pakman push
shell: alpine.sh {0}
env:
WORKFLOW_REF: ${{ github.ref }}
WORKFLOW_SHA: ${{ github.sha }}
WORKFLOW_REF: ${{ github.event.workflow_run.head_branch }}
WORKFLOW_SHA: ${{ github.event.workflow_run.head_sha }}
INSTELLAR_ENDPOINT: https://opsmaru.com
INSTELLAR_PACKAGE_TOKEN: ${{secrets.INSTELLAR_PACKAGE_TOKEN}}
INSTELLAR_AUTH_TOKEN: ${{secrets.INSTELLAR_AUTH_TOKEN}}

0 comments on commit aa8ffbc

Please sign in to comment.