diff --git a/.github/workflows/actions-test.yaml b/.github/workflows/actions-test.yaml deleted file mode 100644 index f5e600a..0000000 --- a/.github/workflows/actions-test.yaml +++ /dev/null @@ -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 }}." \ No newline at end of file diff --git a/.github/workflows/ftpDeploy.yml b/.github/workflows/ftpDeploy.yml index b072849..0ba8108 100644 --- a/.github/workflows/ftpDeploy.yml +++ b/.github/workflows/ftpDeploy.yml @@ -6,12 +6,12 @@ jobs: runs-on: ubuntu-22.04 steps: - name: 🚚 Get latest code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - name: Use Node.js 12 - uses: actions/setup-node@v2-beta + - name: Use Node.js Latest + uses: actions/setup-node@v3 with: - node-version: '12' + node-version: 'latest' - name: 🔨Run Gulp run: | @@ -19,10 +19,10 @@ jobs: npm install npm start - - name: 📂 Sync files - uses: SamKirkland/FTP-Deploy-Action@4.1.0 + - name: 📂 Sync files to server + uses: SamKirkland/FTP-Deploy-Action@v4.3.4 with: server: ftp.rohitpai.co.uk username: u987021215.rodude123 - password: ${{ secrets.ftp_password }} + password: ${{ secrets.FTPPASSWORD }} local-dir: ./dist/