temporary disable ci/cd (customer ftp down) #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# name: Build and Deploy | |
# on: | |
# push: | |
# branches: | |
# - main | |
# jobs: | |
# build-and-deploy: | |
# runs-on: ubuntu-latest | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v2 | |
# - name: Setup Node.js | |
# uses: actions/setup-node@v2 | |
# with: | |
# node-version: "18.15.0" | |
# - name: Install Dependencies | |
# run: npm ci | |
# - name: Build Project | |
# run: npm run build | |
# - name: FTP Deploy | |
# uses: SamKirkland/[email protected] | |
# with: | |
# server: ${{ secrets.serverhost }} | |
# username: ${{ secrets.username }} | |
# password: ${{ secrets.password }} | |
# protocol: ftps | |
# server-dir: /htdocs/website/ | |
# local-dir: ./dist/ | |
# - name: Catch step | |
# if: failure() | |
# run: echo "The job has failed." |