From f6c855679b74e911863d52601c925958673814c4 Mon Sep 17 00:00:00 2001 From: Jeffrey D <1289344+verygoodsoftwarenotvirus@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:31:02 -0500 Subject: [PATCH 1/4] attempt to fix deploy --- .../{deploy_backup.yaml => deploy.yaml} | 42 +++++++++++--- .github/workflows/deploy_ru.yaml | 55 ------------------- 2 files changed, 35 insertions(+), 62 deletions(-) rename .github/workflows/{deploy_backup.yaml => deploy.yaml} (57%) delete mode 100644 .github/workflows/deploy_ru.yaml diff --git a/.github/workflows/deploy_backup.yaml b/.github/workflows/deploy.yaml similarity index 57% rename from .github/workflows/deploy_backup.yaml rename to .github/workflows/deploy.yaml index fb5a649..3ce0d0b 100644 --- a/.github/workflows/deploy_backup.yaml +++ b/.github/workflows/deploy.yaml @@ -1,9 +1,9 @@ -on: # [pull_request] - push: - branches: - - main +on: [pull_request] + # push: + # branches: + # - main -name: Deploy Backup +name: Deploy jobs: build: runs-on: ubuntu-latest @@ -26,7 +26,7 @@ jobs: path: dist/ retention-days: 1 - deploy: + backup: needs: [build] runs-on: ubuntu-latest steps: @@ -43,7 +43,7 @@ jobs: uses: google-github-actions/setup-gcloud@v1 - name: Download built artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: website path: dist/ @@ -53,3 +53,31 @@ jobs: - name: Deploy website run: gsutil -m cp -r dist/* gs://verygoodsoftwarenotvirus.blog/ + + ru: + needs: [build] + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - id: auth + uses: google-github-actions/auth@v1 + with: + credentials_json: '${{ secrets.GOOGLE_CLOUD_CREDENTIALS }}' + + # Setup gcloud CLI + - name: Set up Cloud SDK + uses: google-github-actions/setup-gcloud@v1 + + - name: Download built artifact + uses: actions/download-artifact@v4 + with: + name: website + path: dist/ + + - name: Delete website + run: gsutil -m rm -a gs://blog.verygoodsoftwarenotvirus.ru/** + + - name: Deploy website + run: gsutil -m cp -r dist/* gs://blog.verygoodsoftwarenotvirus.ru/ diff --git a/.github/workflows/deploy_ru.yaml b/.github/workflows/deploy_ru.yaml deleted file mode 100644 index 31fe4d6..0000000 --- a/.github/workflows/deploy_ru.yaml +++ /dev/null @@ -1,55 +0,0 @@ -on: # [pull_request] - push: - branches: - - main - -name: Deploy Main Site -jobs: - build: - runs-on: ubuntu-latest - name: Build - steps: - - uses: actions/checkout@v4 - - - name: Setup Hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: '0.92.1' - - - name: Build - run: hugo --destination dist/ --minify --config=ru_config.toml - - - name: Upload built blog - uses: actions/upload-artifact@v3 - with: - name: website - path: dist/ - retention-days: 1 - - deploy: - needs: [build] - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - id: auth - uses: google-github-actions/auth@v1 - with: - credentials_json: '${{ secrets.GOOGLE_CLOUD_CREDENTIALS }}' - - # Setup gcloud CLI - - name: Set up Cloud SDK - uses: google-github-actions/setup-gcloud@v1 - - - name: Download built artifact - uses: actions/download-artifact@v3 - with: - name: website - path: dist/ - - - name: Delete website - run: gsutil -m rm -a gs://blog.verygoodsoftwarenotvirus.ru/** - - - name: Deploy website - run: gsutil -m cp -r dist/* gs://blog.verygoodsoftwarenotvirus.ru/ From e3d2471a8a5b72ffd4813f0e5fdedde934aa7254 Mon Sep 17 00:00:00 2001 From: Jeffrey D <1289344+verygoodsoftwarenotvirus@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:31:14 -0500 Subject: [PATCH 2/4] whoops --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 3ce0d0b..dfa9abb 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -20,7 +20,7 @@ jobs: run: hugo --destination dist/ --minify --config=backup_config.toml - name: Upload built blog - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: website path: dist/ From b7bd2faa2148477ae95190ffa5020b3312343fb0 Mon Sep 17 00:00:00 2001 From: Jeffrey D <1289344+verygoodsoftwarenotvirus@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:34:05 -0500 Subject: [PATCH 3/4] only deploy on merge --- .github/workflows/deploy.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index dfa9abb..98eab52 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -1,7 +1,7 @@ -on: [pull_request] - # push: - # branches: - # - main +on: # [pull_request] + push: + branches: + - main name: Deploy jobs: From 7a43f82f4958b67cf5f2ad534ce2e3948e0d598e Mon Sep 17 00:00:00 2001 From: Jeffrey D <1289344+verygoodsoftwarenotvirus@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:35:44 -0500 Subject: [PATCH 4/4] add link to post --- content/posts/ai-accountability.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/posts/ai-accountability.md b/content/posts/ai-accountability.md index 1822478..d59f931 100644 --- a/content/posts/ai-accountability.md +++ b/content/posts/ai-accountability.md @@ -11,7 +11,7 @@ showFullContent = false readingTime = true +++ -There’s no doubt in my mind that the unifying characteristic of modern leadership is evasion of accountability and dereliction of responsibility. We’ve seen it in politics for probably as long as the sport has existed, but the recent Signal debacle was really a shining example of this trend. If I, as an employee of a private S-corp, discussed anything nearly as sensitive or detailed about my company’s inner dealings on a Signal group that had a lurking journalist, I’d be fired and at best have to take some lesser position for the rest of my career, but if you’re willing to fellate a dementia-addled billionaire, you will face zero consequences. Lack of accountability is hot right now, and it’s only getting hotter. +There’s no doubt in my mind that the unifying characteristic of modern leadership is evasion of accountability and dereliction of responsibility. We’ve seen it in politics for probably as long as the sport has existed, but [the recent Signal debacle](https://en.wikipedia.org/wiki/United_States_government_group_chat_leak) was really a shining example of this trend. If I, as an employee of a private S-corp, discussed anything nearly as sensitive or detailed about my company’s inner dealings on a Signal group that had a lurking journalist, I’d be fired and at best have to take some lesser position for the rest of my career, but if you’re willing to fellate a dementia-addled billionaire, you will face zero consequences. Lack of accountability is hot right now, and it’s only getting hotter. Speaking of work, recently the company I work for hired a new CTO, whose introductory statement to the company included a commitment to “jump start our usage of AI” at the company. They set a humble goal of merely having AI write most of our tests as well as implement new features by the end of the year. Setting goals we won’t meet is old hat for the company, but its fetishization of AI is comparatively new, though not uncommon. AI has become the hot topic that every company must acknowledge, lest they be regarded as ignorant. Every CEO that might emphasize how their company is meeting the needs of its customers in order to have those customers delightfully return to you in the future is met with a “who gives a fuck, how are you shoehorning LLMs into every layer of your operation?”