Skip to content

Delete unused font files #19

Delete unused font files

Delete unused font files #19

Workflow file for this run

name: Build Website
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Build website
run: yarn && yarn build
- name: Prepare branch for deployment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
find ./ -maxdepth 1 ! -name "dist" ! -name ".git" ! -name "." -exec rm -rf {} \; && \
mv dist/* . && \
rm -rf dist && \
echo "guvendegirmenci.com" > CNAME && \
git config --local user.name "github-actions[bot]" && \
git config --local user.email "github-actions[bot]@users.noreply.github.com" && \
git add . && \
git commit -m "Deploy to GitHub Pages"
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
force: true