Updated libreoffice tools #38
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: publish website | |
on: [push] | |
jobs: | |
build-and-deploy-website: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build and deploy website | |
env: | |
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }} | |
run: | | |
npm ci | |
npm run build | |
cd editor | |
git config --global user.email [email protected] | |
git config --global user.name lucafabbian | |
git init | |
git add . | |
git commit -am "Website updated (through custom github action)" | |
git branch -M main | |
git remote add origin "https://[email protected]/magebook/magebook.github.io.git" | |
git push -f -u origin main |