27 lines
837 B
YAML
27 lines
837 B
YAML
on:
|
|
pull_request:
|
|
types: [ assigned, opened, synchronize, reopened ]
|
|
|
|
concurrency:
|
|
group: ${{ github.head_ref || github.ref_name }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
deploy-x86_64:
|
|
runs-on: x86_64
|
|
container:
|
|
image: alpine:latest
|
|
env:
|
|
CI_ALPINE_REPO: 'https://ayakael.net/api/packages/forge/alpine'
|
|
FORGE_REPO_TOKEN: ${{ secrets.FORGE_REPO_TOKEN }}
|
|
FORGE_REPO_USER: ${{ vars.FORGE_REPO_USER }}
|
|
steps:
|
|
- name: Setting up environment
|
|
run: apk add nodejs curl findutils git gawk jq
|
|
- name: Repo pull
|
|
uses: actions/checkout@v4
|
|
- name: Package deployment
|
|
run: |
|
|
echo $GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }}
|
|
curl $GITHUB_SERVER_URL/api/v1/repos/$GITHUB_REPOSITORY/${{ github.event.number }}
|
|
|