Both as and but are appropriate words for this kind of construction, but I would reword both sentences. The work wasn't so much difficult as (it was) boring. The work wasn't so much difficult but boring.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.