Merge pull request 'workflow-fix' (#43) from workflow-fix into master
All checks were successful
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 16s
All checks were successful
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 16s
Reviewed-on: #43
This commit is contained in:
commit
cdead14bfd
19
.github/workflows/actions-test.yaml
vendored
19
.github/workflows/actions-test.yaml
vendored
@ -1,19 +0,0 @@
|
|||||||
name: Gitea Actions Demo
|
|
||||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
||||||
on: [push]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
Explore-Gitea-Actions:
|
|
||||||
runs-on: Ubuntu-22.04
|
|
||||||
steps:
|
|
||||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
|
||||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
||||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
|
||||||
- name: Check out repository code
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
|
||||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
|
||||||
- name: List files in the repository
|
|
||||||
run: |
|
|
||||||
ls ${{ gitea.workspace }}
|
|
||||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
|
14
.github/workflows/ftpDeploy.yml
vendored
14
.github/workflows/ftpDeploy.yml
vendored
@ -6,12 +6,12 @@ jobs:
|
|||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- name: 🚚 Get latest code
|
- name: 🚚 Get latest code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Use Node.js 12
|
- name: Use Node.js Latest
|
||||||
uses: actions/setup-node@v2-beta
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: 'latest'
|
||||||
|
|
||||||
- name: 🔨Run Gulp
|
- name: 🔨Run Gulp
|
||||||
run: |
|
run: |
|
||||||
@ -19,10 +19,10 @@ jobs:
|
|||||||
npm install
|
npm install
|
||||||
npm start
|
npm start
|
||||||
|
|
||||||
- name: 📂 Sync files
|
- name: 📂 Sync files to server
|
||||||
uses: SamKirkland/FTP-Deploy-Action@4.1.0
|
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
|
||||||
with:
|
with:
|
||||||
server: ftp.rohitpai.co.uk
|
server: ftp.rohitpai.co.uk
|
||||||
username: u987021215.rodude123
|
username: u987021215.rodude123
|
||||||
password: ${{ secrets.ftp_password }}
|
password: ${{ secrets.FTPPASSWORD }}
|
||||||
local-dir: ./dist/
|
local-dir: ./dist/
|
||||||
|
Loading…
Reference in New Issue
Block a user