diff --git a/.github/workflows/gojekyll.yml b/.github/workflows/gojekyll.yml new file mode 100644 index 0000000..62e4b0a --- /dev/null +++ b/.github/workflows/gojekyll.yml @@ -0,0 +1,35 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the "master" branch + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v4 + + - name: Setup Go environment + uses: actions/setup-go@v5.0.1 + - name: Installing GitHub Pages plugin from Gemfile + run: bundle install + - name: Installing GoJekyll + run: go install github.com/osteele/gojekyll@latest + - name: Building Go file + run: gojekyll build diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..60e43db --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,47 @@ +name: Go on Pages + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5.0.1 + with: + # Change your go version as needed + go-version: 1.17 + + - name: Build + run: go build -v ./... + + - name: Upload artifact for deployment jobs + uses: actions/upload-artifact@v4 + with: + name: go-app + path: | + . + deploy: + runs-on: ubuntu-latest + needs: build + + permissions: + id-token: write + pages: write + + steps: + - name: Downloading Artifact + uses: actions/download-artifact@v2 + with: + name: go-app + path: . + + - name: Deploy GitHub Pages site + uses: actions/deploy-pages@v4.0.5 + id: deploy-to-pages diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..8cd331a --- /dev/null +++ b/Gemfile @@ -0,0 +1 @@ +gem 'github-pages', group: :jekyll_plugins diff --git a/frames/frames.go b/frames/frames.go index 4d5a23a..7bc5166 100644 --- a/frames/frames.go +++ b/frames/frames.go @@ -56,4 +56,5 @@ var FrameMap = map[string]FrameType{ "rick": Rick, "spidyswing": Spidy, "torus-knot": TorusKnot, + "snoopydance": SnoopyDancing, } diff --git a/frames/snoopydance.go b/frames/snoopydance.go new file mode 100644 index 0000000..8b29fb0 --- /dev/null +++ b/frames/snoopydance.go @@ -0,0 +1,307 @@ +package frames + +var SnoopyDancing = DefaultFrameType(SnoopyDancingFrames) + +var SnoopyDancingFrames = []string{ + ` + @ @ + @@@@@ @@@@ + @@@@@@@ @ @@@@ @@@@@ + @@@@ @@@@ @@ @@@@@ @@@@ @ + @@@ @@@ @@@@@@@@@@@ @@@@@@ @@@@@ @ + @@ @@@@@@ @@ @@@@@@@@@@@@ @ + @@ @ @ @@@@@@@@@@ + @ @@ @ @ @@ @@@@ @ + @ @@@@ @ @@ @@@ @@@@@ + @@@@@@@ @@@@@@@@@ + @@ @@@@@@@@@@@@ + @@ @@@@@@ + @@@ @ @@ + @@@@ @ + @@@@@ @@ + @@ @@ + @@ @@ + @ @@@@@@@@@@@@@@@ + @@@ @ + @@@@@@@@@ + @@@ @@@@ + @@ @@@ + @@ @@ + @@ @@ + @@ @@ + @@@ @ + @@@ @@ @@ + @@ @ + @@@ @ + @@ @@@@ @ @@@@ + @@ @@ @@@@@@@ + @@ @ + @@ @@@@ @@ @ @@ + @@@ @ @ @ + @@ @@@ @ @ + @@ @@@ @@@@@ @@ + @@ @@@@ @ @ @ + @@ @@ @@@@@@@@ @@@@ + @@@ @@@ @ @ @@@ @ + @ @@ @ + @ @@@@ + @@ + @ + @@`, + ` + @@ @@ + @@@@@@@@@@@ @@@@@@ + @@@@@@@@@@@@@ @@@@@@@@@ + @@ @@@@@@@@ @@@@@@@@ @ + @@@@@@@@@@@ @@@@ @@@@@@@@ @ + @@@@@@@@@@@@ @@@ @@@@@@@@ @@ + @@@@@@@@@@ @@@@@@@ @ + @@ @@@ @@@@@@@@@@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