Skip to content

Commit 7c0db2f

Browse files
committed
build: update action to use github container registry
1 parent 304d46b commit 7c0db2f

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
tags:
66
- '*'
7-
workflow_dispatch: {}
7+
workflow_dispatch:
88

99
jobs:
1010
deploy:
@@ -24,4 +24,4 @@ jobs:
2424
tag_with_ref: true
2525
add_git_labels: true
2626
always_pull: true
27-
push: ${{ startsWith(github.ref, 'refs/tags/') }}
27+
push: ${{ startsWith(github.ref, 'refs/tags/') }}

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ A GitHub Action for syncing the current repository using **force push**.
2222
on:
2323
schedule:
2424
- cron: "*/15 * * * *"
25+
workflow_dispatch:
26+
2527
jobs:
2628
repo-sync:
2729
runs-on: ubuntu-latest
@@ -30,7 +32,7 @@ jobs:
3032
with:
3133
persist-credentials: false
3234
- name: repo-sync
33-
uses: docker://ghcr.io/repo-sync/github-sync@v2
35+
uses: repo-sync/github-sync@v2
3436
with:
3537
source_repo: ""
3638
source_branch: ""

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ inputs:
1919
required: true
2020
runs:
2121
using: 'docker'
22-
image: 'Dockerfile'
22+
image: docker://ghcr.io/repo-sync/github-sync:v2
2323
env:
2424
GITHUB_TOKEN: ${{ inputs.github_token }}
2525
args:

0 commit comments

Comments
 (0)