patch(deps): update dependency postcss to v8.4.45 #168
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: general | |
"on": | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
general: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source | |
id: source | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- name: Setup nodejs | |
id: nodejs | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: npm | |
- name: Setup hugo | |
id: hugo | |
uses: peaceiris/actions-hugo@v3 | |
with: | |
hugo-version: latest | |
extended: true | |
- name: Install assets | |
id: assets | |
run: npm install --ci | |
- name: Build website | |
id: build | |
run: hugo --cleanDestinationDir --enableGitInfo --minify --gc | |
- name: Deploy website | |
id: deploy | |
if: github.ref == 'refs/heads/master' && github.event_name == 'push' | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
uses: South-Paw/action-netlify-cli@v2 | |
with: | |
args: deploy --prod --dir public/ | |
... |