My personal website emmeline.tngl.io/
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

maybe fix workflow

+21 -11
+21 -11
.tangled/workflows/build.yaml
··· 14 14 - uutils-findutils 15 15 - openssh 16 16 17 + environment: 18 + GIT_SSH_COMMAND: "ssh -i ~/.ssh/id_git" 19 + 17 20 steps: 18 21 - name: build puppy 19 22 command: | ··· 32 35 33 36 - name: copy ssh key 34 37 command: | 38 + eval "$(ssh-agent -s)" && 35 39 mkdir -p ~/.ssh/ && 36 40 chmod 700 ~/.ssh && 37 - echo "$SSH_KEY" > ~/.ssh/id_ed25519 && 38 - echo "$SSH_PUB_KEY" > ~/.ssh/id_ed25519.pub && 39 - ssh-keyscan knot.girlkisser.top >> ~/.ssh/known_hosts && 40 - chmod 644 ~/.ssh/known_hosts 41 + echo "Host knot.girlkisser.top 42 + HostName knot.girlkisser.top 43 + User git 44 + IdentityFile ~/.ssh/id_git" > ~/.ssh/config 45 + echo "$SSH_KEY" > ~/.ssh/id_git && 46 + chmod 600 ~/.ssh/* && 47 + ssh-add ~/.ssh/id_git && 48 + ssh-keyscan knot.girlkisser.top >> ~/.ssh/known_hosts 41 49 42 50 - name: build site 43 51 command: | 44 - git clone --depth=1 git@knot.girlkisser.top:emmeline.girlkisser.top/site && 52 + git clone --depth=1 https://tangled.org/emmeline.girlkisser.top/site && 45 53 cd site && 54 + chown -R . $(whoami) && # Something is messing with permissions and causing SSH pushes to fail 46 55 ~/.local/bin/puppy main.pup 47 56 48 - - name: minify 49 - command: | 50 - cargo install minhtml && 51 - cd site && 52 - minhtml --minify-js --minify-css `find output -type f` 57 + # - name: minify 58 + # command: | 59 + # cargo install minhtml && 60 + # cd site && 61 + # minhtml --minify-js --minify-css `find output -type f` 53 62 54 63 - name: push to output branch 55 64 command: | 56 65 cd site && 57 66 git config --global user.email "noemail@example.com" && 58 67 git config --global user.name "Spindle" && 68 + git remote add ssh git@knot.girlkisser.top:emmeline.girlkisser.top/site && 59 69 git add . && 60 70 git commit -m 'build: ${date "+%Y-%m-%d %H:%M:%S"}' && 61 - git push origin HEAD:output 71 + git push ssh HEAD:output