File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Push to website
2+
3+ on :
4+ push :
5+ branches : ["main"]
6+ paths :
7+ - " index.js"
8+ - " index.min.js"
9+ - " index.d.ts"
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
17+ concurrency :
18+ group : " pages"
19+ cancel-in-progress : false
20+
21+ jobs :
22+ node :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - name : Checkout
26+ uses : actions/checkout@v4
27+ - run : bash website/copy.sh
28+ - uses : cpina/github-action-push-to-another-repository@main
29+ env :
30+ API_TOKEN_GITHUB : ${{ secrets.API_TOKEN_GITHUB }}
31+ with :
32+ source-directory : " scripts"
33+ destination-github-username : JustDeveloper1
34+ destination-repository-name : " JSSC.js.org"
35+ user-email : " justdeveloper@juststudio.is-a.dev"
36+ target-branch : " gh-pages"
37+ target-directory : " jssc"
Original file line number Diff line number Diff line change 1+ mkdir scripts
2+ cp index.js scripts/jssc.js
3+ cp index.min.js scripts/jssc.min.js
4+ cp index.d.ts scripts/jssc.d.ts
You can’t perform that action at this time.
0 commit comments