Bump community repo to 20240728055325 #1149
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 | |
concurrency: | |
group: ci-${{ github.head_ref || github.ref }}-${{ github.repository }} | |
on: | |
push: | |
branches: [ master, develop ] | |
pull_request: | |
branches: [ master, develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: | | |
git fetch --prune --unshallow | |
- name: Dump GitHub context | |
env: | |
GITHUB_CONTEXT: ${{ toJson(github) }} | |
run: echo "$GITHUB_CONTEXT" | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: '^1.14.3' # The Go version to download (if necessary) and use. | |
- name: Login to DockerHub Registry | |
if: github.ref == 'refs/heads/master' && github.event_name == 'push' | |
run: echo ${{ secrets.DOCKERIO_PASSWORD }} | sudo -E docker login -u ${{ secrets.DOCKERIO_USERNAME }} --password-stdin | |
- name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. | |
env: | |
PREVIOUS: ${{ github.event.before }} | |
run: | | |
curl https://get.mocaccino.org/luet/get_luet_root.sh | sudo sh | |
sudo -E make build-all create-repo | |
- name: Deploy GH Pages 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: build # The folder the action should deploy. | |
CLEAN: true # Automatically remove deleted files from the deploy branch |