Compare commits

..

No commits in common. "cdead14bfd316d6373a6a6a4e041c633c752929c" and "e3c45c43f239e7e6e8915bc5ae853941ab67f24f" have entirely different histories.

2 changed files with 26 additions and 7 deletions

19
.github/workflows/actions-test.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
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 }}."

View File

@ -6,12 +6,12 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
uses: actions/checkout@v2
- name: Use Node.js Latest
uses: actions/setup-node@v3
- name: Use Node.js 12
uses: actions/setup-node@v2-beta
with:
node-version: 'latest'
node-version: '12'
- name: 🔨Run Gulp
run: |
@ -19,10 +19,10 @@ jobs:
npm install
npm start
- name: 📂 Sync files to server
uses: SamKirkland/FTP-Deploy-Action@v4.3.4
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@4.1.0
with:
server: ftp.rohitpai.co.uk
username: u987021215.rodude123
password: ${{ secrets.FTPPASSWORD }}
password: ${{ secrets.ftp_password }}
local-dir: ./dist/