Skip to content

Commit

Permalink
Use current year only
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge committed Aug 21, 2024
1 parent de2933e commit a45f2fa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4

- name: Set current year env var for Posit theme
run: echo 'CURRENT_YEAR=$(date "+%Y")' >> $GITHUB_ENV

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

Expand Down
2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project:
website:
page-footer:
left: |
Copyright &copy; 2000-{{< env CURRENT_YEAR >}} Posit Software, PBC. All Rights Reserved.
Copyright &copy; 2024 Posit Software, PBC. All Rights Reserved.
center:
- text: "Positron License"
href: licensing.qmd
Expand Down

0 comments on commit a45f2fa

Please sign in to comment.