Skip to content

Commit

Permalink
setup go correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmenezes committed Jan 23, 2024
1 parent 011a060 commit b556301
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/gh-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
python3 -m pip install -r requirements.txt
python3 -m pip install -e mkdocs-material-insider
- name: Deploy 🚀
- name: Deploy mkdocs 🚀
run: python3 -m mkdocs gh-deploy --force --remote-branch ${{ steps.branch_check.outputs.env_name }}

- name: Set up Go
Expand All @@ -61,15 +61,10 @@ jobs:

- name: Deploy Colabs from google-colab directory 🚀
run: |
# Access google-colab folder
# Install go
# Install go install github.com/googlecodelabs/tools/claat@latest
# List all .md files in a variable
# Execute claat export for all .md files
# Checkout branch ${{ steps.branch_check.outputs.env_name }}
# Commit google-colab folder
cd google-colab
go get github.com/googlecodelabs/tools/claat@latest
go install github.com/googlecodelabs/tools/claat@latest
export GOPATH="$HOME/go"
PATH="$GOPATH/bin:$PATH"
files=$(find . -name "*.md")
for file in $files; do
claat export $file
Expand Down

0 comments on commit b556301

Please sign in to comment.