Skip to content

Commit

Permalink
Test for secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
dotfrankruan committed Oct 23, 2020
1 parent 9819dca commit 9d570e7
Show file tree
Hide file tree
Showing 5 changed files with 5,483 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
}
}
24 changes: 24 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Drive Sync
on:
push:
schedule:
- cron: '0 0/12 * * *'
jobs:
move:
name: OneDrive to Google Drive Sync
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@master
- name: Download and Install rclone
run: sudo curl https://rclone.org/install.sh | sudo bash
- name: Config rclone
run: |
mkdir ~/.config/rclone
- name: Onedrive to GoogleDrive
env:
RCLONE_CONFIG: ${{ secrets.RCLONE_CONFIG }}
run: |
$RCLONE_CONFIG >> ~/.config/rclone/rclone.conf
echo "Done"
cat ~/.config/rclone/rclone.conf
66 changes: 66 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# comment this out distribution branches
#node_modules/

# Editors
.vscode

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Other Dependency directories
jspm_packages/

# TypeScript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# next.js build output
.next
Loading

0 comments on commit 9d570e7

Please sign in to comment.