mirror of https://gitlab.com/fscarmen/test.git
parent
4fd624b4df
commit
fa5d77d91f
@ -0,0 +1,27 @@ |
||||
name: "Check and download app" |
||||
|
||||
on: |
||||
workflow_dispatch: |
||||
push: |
||||
branches: |
||||
- main |
||||
schedule: |
||||
- cron: 0 16 * * * |
||||
|
||||
jobs: |
||||
build: |
||||
runs-on: ubuntu-latest |
||||
container: |
||||
image: arm64v8/debian |
||||
steps: |
||||
- uses: actions/checkout@v3.5.3 |
||||
- name: Check and download app |
||||
run: | |
||||
docker container create --name test ghcr.io/naiba/nezha-dashboard |
||||
docker container cp test:/dashboard/app wireguard-go/app-arm64 |
||||
echo "DATE=$(date "+%Y/%m/%d %H:%M:%S")" >> $GITHUB_ENV |
||||
|
||||
- name: Upload to repository |
||||
uses: stefanzweifel/git-auto-commit-action@v4.16.0 |
||||
with: |
||||
commit_message: Sync app by Github Actions, ${{ env.DATE }} |
||||
Loading…
Reference in new issue