Skip to content

Commit

Permalink
ci: remove website update
Browse files Browse the repository at this point in the history
  • Loading branch information
atennert committed Feb 22, 2022
1 parent 6f915ce commit 3ae6f84
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,29 +125,6 @@ jobs:

- run: ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${CIRCLE_TAG} ~/repo/build/deb/deploy/

update_website:
docker:
- image: cimg/base:stable

working_directory: ~/repo

steps:
- add_ssh_keys:
fingerprints:
- 92:97:77:77:03:73:3e:41:6a:18:d9:8d:c2:3a:52:3e

# make github a known host
- run: ssh-keyscan github.com >> ~/.ssh/known_hosts

# get lcarsde.github.io
- run: git clone [email protected]:lcarsde/lcarsde.github.io.git

# update content
- run: sed -i -e "s/[0-9\.]*\/status-bar_[0-9\.]*_amd64.deb\">status-bar ([0-9\.]*)/$CIRCLE_TAG\/status-bar_$CIRCLE_TAG_amd64.deb\">status-bar ($CIRCLE_TAG)/" installation.html

# upload new contents
- run: git add -u && git commit -m "update status-bar deb file link to version $CIRCLE_TAG" && git push

workflows:
version: 2
build_and_deploy:
Expand Down Expand Up @@ -186,12 +163,3 @@ workflows:
only: /.*/
branches:
ignore: /.*/
- update_website:
requires:
- deploy_aur
- publish_github_release
filters:
tags:
only: /.*/
branches:
ignore: /.*/

0 comments on commit 3ae6f84

Please sign in to comment.