Update dependency tailwindcss to v3.4.10 #477
Workflow file for this run
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: Deploy | |
on: | |
push: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Build | |
run: | | |
npm install | |
npm run build | |
- name: Upload build | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: dist/ | |
deploy-test: | |
name: Deploy to Test | |
needs: build | |
runs-on: ubuntu-latest | |
environment: | |
name: Test | |
url: https://david-test.eadie.net | |
steps: | |
- name: Download build | |
uses: actions/download-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
- name: Upload | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_SERVER }} | |
username: ${{ secrets.FTP_USER }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
local-dir: ./dist/ | |
server-dir: ./ | |
deploy-prod: | |
if: github.ref == 'refs/heads/main' | |
name: Deploy to Production | |
needs: deploy-test | |
runs-on: ubuntu-latest | |
environment: | |
name: Production | |
url: https://david.eadie.net | |
steps: | |
- name: Download build | |
uses: actions/download-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
- name: Upload | |
uses: SamKirkland/[email protected] | |
with: | |
server: ${{ secrets.FTP_SERVER }} | |
username: ${{ secrets.FTP_USER }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
local-dir: ./dist/ | |
server-dir: ./ |