added(wiki/qubicle): added stub with references #70
This file contains hidden or 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: Voxel.Wiki Site Generation v2 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| name: "Build Site" | |
| runs-on: ubuntu-latest | |
| if: github.ref == 'refs/heads/main' | |
| steps: | |
| - name: "Make Dir" | |
| run: mkdir -p public && ls -hal . | |
| - name: "Checkout" | |
| uses: actions/checkout@master | |
| with: | |
| lfs: true | |
| submodules: true | |
| - name: Fetch Git LFS objects | |
| run: git lfs pull | |
| - name: "Build" | |
| uses: shalzz/zola-deploy-action@186b5039430ab38781dde8feaf0861bcc017413f | |
| env: | |
| BUILD_DIR: . | |
| BUILD_ONLY: true | |
| OUT_DIR: public | |
| - name: "Fix Perms" | |
| run: sudo chown -R runner:runner public && ls -hal . | |
| - name: "Deploy" | |
| uses: SamKirkland/[email protected] | |
| with: | |
| protocol: ftps | |
| port: 21 | |
| local-dir: ./public/ | |
| server-dir: ./public_html/ | |
| server: ${{ secrets.ftp_hostname }} | |
| username: ${{ secrets.ftp_username }} | |
| password: ${{ secrets.ftp_password }} |