diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 4dbc1fa..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: scp files -on: [push] -jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Install Node.js - uses: actions/setup-node@v1 - with: - node-version: '10.x' - - name: Install npm dependencies - run: npm install - - name: Run build task - run: npm run build --if-present - - uses: actions/checkout@master - - name: copy file via ssh password - uses: appleboy/scp-action@master - with: - host: ${{ secrets.REMOTE_HOST }} - username: ${{ secrets.REMOTE_USER }} - password: ${{ secrets.REMOTE_PASSWORD }} - port: ${{ secrets.REMOTE_PORT }} - source: "dist/*" - target: ${{secrets.REMOTE_TARGET}} - - diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 89cc0a2..90164de 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,4 +13,8 @@ jobs: username: ${{ secrets.REMOTE_USER }} password: ${{ secrets.REMOTE_PASSWORD }} port: ${{ secrets.REMOTE_PORT }} - script: whoami + script: | + mkdir /data/www/temp + cd /data/www/temp + touch hell.md +