Remove unnecessary flex-shrink property from blog post container #23
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] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build 🏗️ | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Set Node.js TLS settings | |
run: echo "NODE_TLS_REJECT_UNAUTHORIZED=0" >> $GITHUB_ENV | |
- name: Install dependencies | |
run: npm install | |
- name: Build dependencies | |
run: npx nuxi generate | |
- name: List directory contents | |
run: ls -alh | |
- name: Archive production artifact | |
uses: actions/upload-artifact@main | |
with: | |
name: dist | |
path: dist | |
deploy: | |
name: Deploy 🚀 | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@main | |
- name: Download artifact | |
uses: actions/download-artifact@main | |
with: | |
name: dist | |
path: dist | |
- name: List directory contents | |
run: ls -alh | |
- name: Synch files to hosting | |
uses: SamKirkland/[email protected] | |
with: | |
server: fabi-online.de | |
username: ${{ secrets.FTP_USERNAME }} | |
password: ${{ secrets.FTP_PASSWORD }} | |
port: 21 | |
protocol: ftps | |
local-dir: dist/ | |
server-dir: /htdocs/fabian-weiss/ | |
security: loose |