-
-
Notifications
You must be signed in to change notification settings - Fork 619
33 lines (27 loc) · 742 Bytes
/
Copy pathsync-atomgit-code.yml
File metadata and controls
33 lines (27 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Sync Code to AtomGit
on:
workflow_dispatch:
permissions:
contents: read
jobs:
sync-atomgit-code:
name: Sync main and release tags
runs-on: ubuntu-latest
concurrency:
group: atomgit-code-sync
cancel-in-progress: false
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Sync code to AtomGit
env:
ATOMGIT_ACCESS_TOKEN: ${{ secrets.ATOMGIT_ACCESS_TOKEN }}
ATOMGIT_OWNER: ${{ vars.ATOMGIT_OWNER }}
ATOMGIT_REPO: ${{ vars.ATOMGIT_REPO }}
run: node .github/scripts/sync-atomgit-git.mjs