Skip to content

Commit

Permalink
Try upload js files into cdn using gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
pylover committed Aug 10, 2021
1 parent e451958 commit b160a81
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/jsdist.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Javascript Distribution

on:
push:
branches: [ master ]
release:
types: [ created ]

Expand Down Expand Up @@ -40,7 +38,7 @@ jobs:
chmod 600 ~/.ssh/cdn_id_rsa
- name: Deploy to Javascript files to CDN
run: scp -i ~/.ssh/cdn_id_rsa -P ${{ secrets.DOBISEL_PORT }} build/jsdist/adia.lib.js cdn@${{ secrets.DOBISEL_ADDR }}:/var/www/cdn1/adia
run: scp -i ~/.ssh/cdn_id_rsa -o ConnectTimeout=5 -P ${{ secrets.DOBISEL_PORT }} build/jsdist/adia*.js cdn@${{ secrets.DOBISEL_ADDR }}:/var/www/cdn1/adia

jsdist_index:
name: Create Javadcript distributions index
Expand Down

0 comments on commit b160a81

Please sign in to comment.