mirror of
https://github.com/RealOrangeOne/notes.git
synced 2024-11-16 23:09:03 +00:00
Remove GitHub actions config
This commit is contained in:
parent
5db8baf65c
commit
ba5ca9752a
2 changed files with 0 additions and 67 deletions
29
.github/workflows/ci.yml
vendored
29
.github/workflows/ci.yml
vendored
|
@ -1,29 +0,0 @@
|
||||||
name: CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- "*"
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout sources
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '14'
|
|
||||||
|
|
||||||
- uses: egordm/gha-yarn-node-cache@v1
|
|
||||||
|
|
||||||
- run: yarn install
|
|
||||||
- run: npm run build
|
|
||||||
|
|
||||||
- name: Archive
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: notes
|
|
||||||
path: public
|
|
38
.github/workflows/deploy.yml
vendored
38
.github/workflows/deploy.yml
vendored
|
@ -1,38 +0,0 @@
|
||||||
name: Deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Checkout sources
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '14'
|
|
||||||
|
|
||||||
- uses: egordm/gha-yarn-node-cache@v1
|
|
||||||
|
|
||||||
- run: yarn install
|
|
||||||
- run: npm run build
|
|
||||||
|
|
||||||
- name: Archive
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: notes
|
|
||||||
path: public
|
|
||||||
|
|
||||||
- name: rclone
|
|
||||||
uses: wei/rclone@master
|
|
||||||
with:
|
|
||||||
args: sync public/ pages:notes.theorangeone.net/
|
|
||||||
env:
|
|
||||||
RCLONE_CONFIG_PAGES_TYPE: webdav
|
|
||||||
RCLONE_CONFIG_PAGES_URL: https://pages.theorangeone.net
|
|
||||||
RCLONE_CONFIG_PAGES_USER: github
|
|
||||||
RCLONE_CONFIG_PAGES_PASS: ${{ secrets.RCLONE_WEBDAV_PASSWORD }}
|
|
Loading…
Reference in a new issue