Devnet sync #1456
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Devnet sync | |
on: | |
schedule: | |
- cron: "0 10 * * *" | |
permissions: | |
contents: read | |
jobs: | |
devnet-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: develop | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
host: ${{ secrets.SYNC_HOST }} | |
username: ${{ secrets.SYNC_USERNAME }} | |
password: ${{ secrets.SYNC_PASSWORD }} | |
port: ${{ secrets.SYNC_PORT }} | |
script_stop: true | |
script: bash devnet-sync-result.sh |